package cn.hairui.fastms.core.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 资源信息表
 * </p>
 *
 * @author lihairui
 * @since 2020-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SResc对象", description = "资源信息表")
public class SResc implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源代码")
    @TableId("RESC_CDE")
    private String rescCde;

    @ApiModelProperty(value = "中文名")
    @TableField("RESC_DESC")
    private String rescDesc;

    @ApiModelProperty(value = "资源URL")
    @TableField("RESC_URL")
    private String rescUrl;

    @ApiModelProperty(value = "上级资源")
    @TableField("RESC_PARENTID")
    private String rescParentid;

    @ApiModelProperty(value = "排序字段")
    @TableField("RESC_ORDERID")
    private String rescOrderid;

    @ApiModelProperty(value = "资源图标")
    @TableField("RESC_ICON")
    private String rescIcon;

    @ApiModelProperty(value = "备注")
    @TableField("RESC_RMK")
    private String rescRmk;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private String updateTime;

    /*private List<SResc> children;*/
}
